package com.example.boardroom.newItems;

import androidx.annotation.Nullable;

import com.chad.library.adapter.base.entity.node.BaseExpandNode;
import com.chad.library.adapter.base.entity.node.BaseNode;

import java.util.List;

public class FirstNode extends BaseExpandNode {
    HardBean.DataDTO dataDTO;
    private List<BaseNode> list;

    public FirstNode() {

    }

    public FirstNode(HardBean.DataDTO dataDTO, List<BaseNode> list) {
        this.dataDTO = dataDTO;
        this.list = list;
        setExpanded(false);
    }

    @Nullable
    @Override
    public List<BaseNode> getChildNode() {
        return list;
    }
}
